package com.longma.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class InspectionRecordUpdateDTO extends InspectionRecordDTO {

    @ApiModelProperty(value = "结束时间")
    @NotNull(message = "结束时间不能为空")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "巡检记录id")
    @NotNull(message = "巡检记录id不能为空")
    private Integer id;
}
